package com.midea.oms.Dto;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @version V1.0
 * @Title: class
 * @Description: 责任制导入模板
 * @author: zzj
 * @date: 2023/9/20 20:33
 */
@Data
@ColumnWidth(20)
@HeadRowHeight(25)
// 该注解忽略未添加@ExcelProperty注解的属性
@ExcelIgnoreUnannotated
public class AccountabilityTemplateDtoImport {

    // 行号
    private Integer lineNo;

    @ExcelProperty(value = "分公司", index = 0)
    private String companyName;

    @ExcelProperty(value = "经营中心", index = 1)
    private String managementCenterName;

    @ExcelProperty(value = "线长名字", index = 2)
    private String lineLeaderName;

    @ExcelProperty(value = "线长MIP", index = 3)
    private String lineLeaderCode;

    @ExcelProperty(value = "美的基地类别", index = 4)
    private String mideaBaseFlag;

    @ExcelProperty(value = "年", index = 5)
    private Integer year;

    @ExcelProperty(value = "月", index = 6)
    private Integer month;

    @ExcelProperty(value = "纯外部收入", index = 7)
    private BigDecimal externalIncome;

    @ExcelProperty(value = "整体收入", index = 8)
    private BigDecimal income;

    @ExcelProperty(value = "利润率", index = 9)
    private BigDecimal profitRate;

    @ExcelProperty(value = "内外部整体毛利额", index = 10)
    private BigDecimal grossProfit;

    @ExcelProperty(value = "全程时效兑现率（全量）", index = 11)
    private BigDecimal timeliness;

    @ExcelProperty(value = "质量损失率（全量）", index = 12)
    private BigDecimal damage;

    @ExcelProperty(value = "客诉率（全量）", index = 13)
    private BigDecimal customerComplain;
}
